package com.org.model;

import java.sql.Timestamp;

/**
 * Deposit entity. @author MyEclipse Persistence Tools
 */

public class Deposit implements java.io.Serializable {

	// Fields

	private Long id;
	private Payment payment;
	private Member member;
	private Order order;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private Double balance;
	private Double credit;
	private Double debit;
	private String memo;
	private String operator;
	private Integer type;

	// Constructors

	/** default constructor */
	public Deposit() {
	}

	/** minimal constructor */
	public Deposit(Member member, Timestamp createDate, Timestamp modifyDate,
			Double balance, Double credit, Double debit, Integer type) {
		this.member = member;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.balance = balance;
		this.credit = credit;
		this.debit = debit;
		this.type = type;
	}

	/** full constructor */
	public Deposit(Payment payment, Member member, Order order,
			Timestamp createDate, Timestamp modifyDate, Double balance,
			Double credit, Double debit, String memo, String operator,
			Integer type) {
		this.payment = payment;
		this.member = member;
		this.order = order;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.balance = balance;
		this.credit = credit;
		this.debit = debit;
		this.memo = memo;
		this.operator = operator;
		this.type = type;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Payment getPayment() {
		return this.payment;
	}

	public void setPayment(Payment payment) {
		this.payment = payment;
	}

	public Member getMember() {
		return this.member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public Order getOrder() {
		return this.order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public Double getBalance() {
		return this.balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

	public Double getCredit() {
		return this.credit;
	}

	public void setCredit(Double credit) {
		this.credit = credit;
	}

	public Double getDebit() {
		return this.debit;
	}

	public void setDebit(Double debit) {
		this.debit = debit;
	}

	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getOperator() {
		return this.operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

}